package org.jeecg.modules.gcProject.service;

import org.jeecg.modules.gcProject.entity.GcProjectAttachment;
import org.jeecg.modules.gcProject.entity.GcProjectEntrySection;
import org.jeecg.modules.gcProject.entity.GcProjectEntry;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.gcProject.vo.GcProjectAuditParam;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 项目进场
 * @Author: jeecg-boot
 * @Date:   2024-08-11
 * @Version: V1.0
 */
public interface IGcProjectEntryService extends IService<GcProjectEntry> {

	/**
	 * 添加一对多
	 *
	 * @param gcProjectEntry
	 * @param gcProjectEntrySectionList
	 */
	public void saveMain(GcProjectEntry gcProjectEntry,List<GcProjectEntrySection> gcProjectEntrySectionList,List<GcProjectAttachment> gcProjectAttachmentList) ;
	
	/**
	 * 修改一对多
	 *
   * @param gcProjectEntry
   * @param gcProjectEntrySectionList
	 */
	public void updateMain(GcProjectEntry gcProjectEntry,List<GcProjectEntrySection> gcProjectEntrySectionList,List<GcProjectAttachment> gcProjectAttachmentList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	public boolean audit(GcProjectAuditParam gcProjectAuditParam);


}
